/config/syslog/servers/<server_name>/filters

The nodes below this one perform the functions described in this function overview.

Use

Attach a filter to this remote logging server. If you attach multiple filters to the same server, the system logs all levels included in the filters.

Parameters

server_name: name of server

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/syslog/servers/name/filters

GET Response

{"httpResponseCode": 404,
 "internalResponseCode": 101,
 "message": "Request failed: Unable to retrieve data from controller\n  Path: /config/syslog/servers/name/filters\n  ResponseCode: 101 (Path not found)\n",
 "recurse": False,
 "requestPath": "/config/syslog/servers/name/filters"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/syslog/servers/name/filters?op=list

GET Response

{"httpResponseCode": 404,
 "internalResponseCode": 101,
 "message": "Request failed: Unable to retrieve data from controller\n  Path: /config/syslog/servers/name/filters\n  ResponseCode: 101 (Path not found)\n",
 "recurse": False,
 "requestPath": "/config/syslog/servers/name/filters"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/syslog/servers /name/filters?level=recurse

  1. /config/syslog/servers/<server_name>/filters 1. Parameters
    1. Data Type 2. Request Methods 3. Related 4. Examples